package io.renren.modules.frt.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 汇总图表
 * 
 * @author qibing.huang
 * @email abingtech@163.com
 * @date 2018-12-03 22:42:14
 */
@TableName("frt_sumary")
public class SumaryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	private Long id;
	/**
	 * 汇总人
	 */
	private Long userId;
	/**
	 * 汇总的记录
	 */
	private String taskUserIds;
	/**
	 * 数据来源
	 */
	private String dataSource;
	/**
	 * 模板
	 */
	private String tempName;
	/**
	 * 任务名称
	 */
	private String taskName;
	/**
	 * 上报时间节点
	 */
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	private Date nodeDate;
	/**
	 * 创建时间
	 */
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	
	private Long taskId;
	
	private String tempType;
	
	private String dataSourceIds;
	
	private String sumaryName;
	
	private Integer sumaryFlag;
	
	/**
	 * @return the sumaryFlag
	 */
	public Integer getSumaryFlag() {
		return sumaryFlag;
	}
	/**
	 * @param sumaryFlag the sumaryFlag to set
	 */
	public void setSumaryFlag(Integer sumaryFlag) {
		this.sumaryFlag = sumaryFlag;
	}
	/**
	 * @return the sumaryName
	 */
	public String getSumaryName() {
		return sumaryName;
	}
	/**
	 * @param sumaryName the sumaryName to set
	 */
	public void setSumaryName(String sumaryName) {
		this.sumaryName = sumaryName;
	}
	/**
	 * @return the dataSourceIds
	 */
	public String getDataSourceIds() {
		return dataSourceIds;
	}
	/**
	 * @param dataSourceIds the dataSourceIds to set
	 */
	public void setDataSourceIds(String dataSourceIds) {
		this.dataSourceIds = dataSourceIds;
	}
	/**
	 * @return the tempType
	 */
	public String getTempType() {
		return tempType;
	}
	/**
	 * @param tempType the tempType to set
	 */
	public void setTempType(String tempType) {
		this.tempType = tempType;
	}
	/**
	 * @return the taskId
	 */
	public Long getTaskId() {
		return taskId;
	}
	/**
	 * @param taskId the taskId to set
	 */
	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}
	/**
	 * 设置：ID
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：ID
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：汇总人
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：汇总人
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：汇总的记录
	 */
	public void setTaskUserIds(String taskUserIds) {
		this.taskUserIds = taskUserIds;
	}
	/**
	 * 获取：汇总的记录
	 */
	public String getTaskUserIds() {
		return taskUserIds;
	}
	/**
	 * 设置：数据来源
	 */
	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}
	/**
	 * 获取：数据来源
	 */
	public String getDataSource() {
		return dataSource;
	}
	/**
	 * 设置：模板
	 */
	public void setTempName(String tempName) {
		this.tempName = tempName;
	}
	/**
	 * 获取：模板
	 */
	public String getTempName() {
		return tempName;
	}
	/**
	 * 设置：任务名称
	 */
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	/**
	 * 获取：任务名称
	 */
	public String getTaskName() {
		return taskName;
	}
	/**
	 * 设置：上报时间节点
	 */
	public void setNodeDate(Date nodeDate) {
		this.nodeDate = nodeDate;
	}
	/**
	 * 获取：上报时间节点
	 */
	public Date getNodeDate() {
		return nodeDate;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
}
